home *** CD-ROM | disk | FTP | other *** search
- ;void set_cursor_shape();
-
- EXTRN _memory_model:byte
- EXTRN _start_line:byte
- EXTRN _stop_line:byte
-
- _TEXT SEGMENT BYTE PUBLIC 'CODE'
- ASSUME CS:_TEXT
- PUBLIC _set_cursor_shape
- _set_cursor_shape proc near
- mov ch,_start_line ;Topline value to CH
- mov cl,_stop_line ;Bottomline to CL
- mov ah,1 ;func to set cursor shape
- int 10h ;set the shape
- cmp _memory_model,0 ;quit
- jle quit ;
- db 0CBh ;RET far
- quit: ret ;RET near
- _set_cursor_shape endp
- _TEXT ENDS
- END